package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;


@Table(name = "t_address")
public class Address extends BaseEntity {

    /**
     * 地址ID
     **/
    private Integer id;
    /**
     * 用户ID
     **/
    private Integer userId;
    /**
     * 收货人名称
     **/
    private String name;
    /**
     * 联系方式
     **/
    private String telephone;
    /**
     * 地区
     **/
    private String area;
    /**
     * 详细地址
     **/
    private String address;
    /**
     * 是否默认地址
     **/
    private Integer isDefault;
    /**
     * 地址状态
     */
    private Integer state;
    /**
     * 城市编号
     */
    private Integer cityId;
    /**
     * 地区编号
     */
    private Integer areaId;
    /**
     * 用户经度
     */
    private Double ulng;
    /**
     * 用户纬度
     */
    private Double ulat;
    /**
     * 门牌号
     */
    private String houseNumber;

    public String getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(String houseNumber) {
        this.houseNumber = houseNumber;
    }

    /**
     * 地址ID
     **/
    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 用户ID
     **/
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 收货人名称
     **/
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 联系方式
     **/
    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    /**
     * 地区
     **/
    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    /**
     * 详细地址
     **/
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 是否默认地址
     **/
    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Double getUlng() {
        return ulng;
    }

    public void setUlng(Double ulng) {
        this.ulng = ulng;
    }

    public Double getUlat() {
        return ulat;
    }

    public void setUlat(Double ulat) {
        this.ulat = ulat;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }
}